//
//  User.h
//  NiuBanJin
//
//  Created by Billy on 15/9/17.
//  Copyright (c) 2015年 zzjr. All rights reserved.
//

// 用户对象 ,全设置成NSNumber 原因是为了归档

#import <Foundation/Foundation.h>

@interface User : NSObject <NSCoding>

@property (nonatomic, copy) NSString *user_userId; //用户id
@property (nonatomic, copy) NSString *user_userName; //用户电话号码
@property (nonatomic, copy) NSString *user_userRealName; //用户真实名
@property (nonatomic, copy) NSString *user_userToken; //用户token

@property (nonatomic, copy) NSString *user_userAsset;//用户总资产
@property (nonatomic, copy) NSString *user_userTicket;//用户加息券数量
@property (nonatomic, copy) NSString *user_userScores;//用户积分
@property (nonatomic, copy) NSString *user_userEarnings;//用户累计收益
@property (nonatomic, copy) NSString *user_userdayWalletProfit;//今日预期收益

@property (nonatomic, copy) NSString *user_userAssetFrozen;//用户冻结金额
@property (nonatomic, copy) NSString *user_userAssetFree;//用户可用金额
@property (nonatomic, strong) NSNumber *user_isCardBinding; //用户有没有绑定银行卡
@property (nonatomic, strong) NSNumber *user_isRealNameAuthentication; //用户有没有实名认证

@property (nonatomic, copy) NSString *user_annualRate; // 用户年化收益
@property (nonatomic, copy) NSString *user_ticketRate; //加息券增加的利息
@property (nonatomic, copy) NSString *user_dayProfit; //每日万分收益

- (instancetype)initWithAttributes:(NSDictionary *)attributesDic ; //初始化方法

@end
